Nevron Open Vision Documentation
Nevron.Nov.DataStructures Namespace / NList<T> Class
Fields Properties Methods


In This Topic
    NList<T> Class Members
    In This Topic

    The following tables list the members exposed by NList<T>.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the amount of items that this dynamic can hold, without resizing the Items array. (Inherited from Nevron.Nov.DataStructures.NDynamicArray<T>)
    Public PropertyGets the count of items in this set. (Inherited from Nevron.Nov.DataStructures.NDynamicArray<T>)
    Public PropertyGets or sets the item at the specified index. (Inherited from Nevron.Nov.DataStructures.NDynamicArray<T>)
    Public PropertyGets the internal items backing array. (Inherited from Nevron.Nov.DataStructures.NDynamicArray<T>)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Adds (appends) an item to the list.  
    Public MethodUnsafe add method that adds the specified item and increases the count. Call the BeginFastAdd method before calling this method.  
    Public MethodUnsafe add method that adds the specified item and increases the count, unless it is null. Call the BeginFastAdd method before calling this method.  
    Public MethodOverloaded. Adds a non duplicate item to the list  
    Public MethodAdds a non-null item to the list.  
    Public MethodOverloaded. Adds a range of items to this list.  
    Public MethodOverloaded. Adds a range of objects without adding duplicate ones.  
    Public MethodCall this method before calling the FastAdd method not more that the specified count.  
    Public MethodOverloaded. Searches for the index at which the item occurs by using a binary search. It is an user responsibility to first sort the list in ascending order.  
    Public MethodOverloaded. Sorts the entire list by using a default comparer and the bubble sort algorithm.  
    Public MethodCasts all items in this list to the specified target type. Returns a new list with the casted objects  
    Public MethodClears this array, by resetting it's count to zero and settings the Items array values to their defaults (depending on type) (Inherited from Nevron.Nov.DataStructures.NDynamicArray<T>)
    Public MethodReturns true if this list contains the specified item. (Inherited from Nevron.Nov.DataStructures.NDynamicArray<T>)
    Public MethodConverts all items in this list to the specified output type. Uses the given converter delegate for the conversion.  
    Public MethodOverloaded. Copies the items of this array (from 0 to Count) to the specified target array (from 0).  
    Public MethodEnsures that this dynamic array has the capacity to handle the specified amount of items. (Inherited from Nevron.Nov.DataStructures.NDynamicArray<T>)
    Public MethodFilters the elements of this list and returns a new list in which all elements satisfy the filter criteria  
    Public MethodDetermines the count of elements in this array, which satisfy the specified filter  
    Public Methodstatic (Shared in Visual Basic)Creates a list that contains the specified item.  
    Public MethodGets an iterator that iterates throw the items in forward order. (Inherited from Nevron.Nov.DataStructures.NDynamicArray<T>)
    Public MethodGets a range of items of this list  
    Public MethodGets an iterator that iterates throw the items in reverse order. (Inherited from Nevron.Nov.DataStructures.NDynamicArray<T>)
    Public MethodOverloaded. Gets the index at which an item appears for the first time. Returns -1 if the item does not appear in this list. (Inherited from Nevron.Nov.DataStructures.NDynamicArray<T>)
    Public MethodInserts the specified item at the specified index  
    Public MethodOverloaded. Inserts a range of items in the specified list at the specified index  
    Public MethodOverloaded. Gets the last index of the specified item (Inherited from Nevron.Nov.DataStructures.NDynamicArray<T>)
    Public MethodReturns the last item from the deque, without removing it.  
    Public MethodReturns the first item from the deque, without removing it.  
    Public MethodRemoves and returns the last item from the deque.  
    Public MethodRemoves and returns the first item from the deque.  
    Public MethodPushes the item at the back of the deque (makes it the last item in the deque)  
    Public MethodPushes the item at the front of the deque (makes it the first item in the deque)  
    Public MethodRecycles this object.  
    Public MethodOverloaded. Removes the first occurrence of the specified item, if any.  
    Public MethodRemoves all occurrence of the specified item.  
    Public MethodRemoves the item at the given index from the list.  
    Public MethodOverloaded. Removes the last occurrence of the specified item.  
    Public MethodRemoves the specified range of items from this list  
    Public MethodOverloaded. Reverses the items in this list  
    Public MethodRandomly repositions the elements in this list using the Fisher-Yates algorithm AKA the Knuth Shuffle. It runs in O(n) time and shuffles in place, so it's better performing than the "sort by random" technique.  
    Public MethodOverloaded. Sorts the entire list by using a default comparer and the quick sort algorithm.  
    Public MethodSwaps this list content with the specified other list.  
    Public MethodOverloaded. Converts this list to system array of the corresponding type  
    Public MethodTries to get the first item that passes the specified filter. If filter is null the first item in the list is returned.  
    Public MethodTries to get the index of the first item that passes the specified filter. If filter is null the index of the first item in the list is returned.  
    Public MethodTries to get the last item that passes the specified filter. If filter is null the last item in the list is returned.  
    Public MethodTries to get the index of the last item that passes the specified filter. If filter is null the index of the last item in the list is returned.  
    Top
    Protected Methods
     NameDescription
    Internal Method  
    Internal Method  
    Internal Method  
    Top
    See Also